package com.dongman.utils;

import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.mime.MultipartEntityBuilder;
import org.apache.http.impl.client.DefaultHttpClient;
import org.springframework.util.DigestUtils;

import java.io.File;
import java.io.IOException;

public class Test {


    public static void main(String[] args) throws IOException {
        String s = "2021-05-09%2019%3A30%3A42578895963android20151211";
        String md5 = DigestUtils.md5DigestAsHex(s.getBytes());
        System.out.println(md5);
    }

}
